package com.langsin.loujianguo.mapper;

import com.langsin.bean.Orders;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author LQWQK
 * @version 1.0
 * @since 2022-06-27 09:30:47
 */
public interface OrdersMapper {

    Orders queryOrdersAndUserByOrdersId(Integer orderId);


    // 根据用户id 查询所有 订单
    List<Orders> queryOrdersByUserId(Integer userId);
}
